package org.itboys.admin.dto.lasted;


import org.mongodb.morphia.annotations.Indexed;
/**
 * 作者：jiangxiong
 * 日期：2017年2月8日
 * 联系方式 ：empty90911@126.com
 * 描述：系统_dto_基类
 */
public class SystemUserDto extends BaseDto{


	private String userName;
	
	private String password;//md5加密
	
	private String name;//姓名
	

	private String mobile;//电话
	
	private String email;//邮箱

	
	private Integer status;//状态 1有效 0冻结

	private String logo;//头像。

	private Long orgId;//组织ID

	private String orgName;// 组织名称不存储，查询

	private Integer isSuper;// 是否超级用户。

	public SystemUserDto(){

	}


	public SystemUserDto(
			Long id,
			Long creator, String creatorName, String createTime, String createDate,
			Long updater, String updaterName, String updateTime, String updateDate,
			Integer isDeleted,
			String userName, /*String password,*/ String name, String mobile,
			String email, Integer status, String logo, Long orgId, String orgName,Integer isSuper) {
		super(id, creator, creatorName, createTime, createDate, updater, updaterName, updateTime, updateDate, isDeleted);
		this.userName = userName;
		/*this.password = password;*/
		this.name = name;
		this.mobile = mobile;
		this.email = email;
		this.status = status;
		this.logo = logo;
		this.orgId = orgId;
		this.orgName = orgName;
		this.isSuper=isSuper;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public Integer getIsSuper() {
		return isSuper;
	}

	public void setIsSuper(Integer isSuper) {
		this.isSuper = isSuper;
	}
}
